package com.headline.common;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

/**
 * Created with Administrator
 * DATE:2016/11/7
 * Time:14:45
 */
public class DataAccess extends HibernateDaoSupport {
    public Object insertEntity(Object entity) {
        getHibernateTemplate().save(entity);
        return entity;
    }
}
